/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cn.ekuma.epos.swing.calc;

/**
 *
 * @author Administrator
 */
public class XPerCommand extends AbstractCommand{

    @Override
    public String getCommStyle() {
        return this.COMM_XPER;
    }

    @Override
    public boolean isSuportReCalc() {
       return true;
    }

    @Override
    public CalcLogic clone() {
        return this;
    }

    @Override
    public double calc(double inData) {
        return 1/inData;
    }

}
